package com.pap.customerfeignapi.dto;

import com.pap.base.entity.PapBaseEntity;

import java.io.Serializable;

public class CustomerInvoiceDTO extends PapBaseEntity implements Serializable {
    /**
     *  编号,所属表字段为t_customer_invoice.CUSTOMER_INVOICE_ID
     */
    private String customerInvoiceId;

    /**
     *  所属客户信息编码,所属表字段为t_customer_invoice.CUSTOMER_ID
     */
    private String customerId;

    /**
     *  发票抬头类型(个人/单位),所属表字段为t_customer_invoice.INVOICE_TYPE
     */
    private String invoiceType;

    /**
     *  发票名称,所属表字段为t_customer_invoice.INVOICE_TITLE
     */
    private String invoiceTitle;

    /**
     *  税号,所属表字段为t_customer_invoice.TIN_NUMBER
     */
    private String tinNumber;

    /**
     *  单位地址,所属表字段为t_customer_invoice.COMPANY_ADDRESS
     */
    private String companyAddress;

    /**
     *  电话号码,所属表字段为t_customer_invoice.COMPANY_TEL
     */
    private String companyTel;

    /**
     *  开户银行,所属表字段为t_customer_invoice.COMPANY_BANK_NAME
     */
    private String companyBankName;

    /**
     *  银行账户,所属表字段为t_customer_invoice.COMPANY_BANK_NUMBER
     */
    private String companyBankNumber;

    private static final long serialVersionUID = 1L;

    public String getCustomerInvoiceId() {
        return customerInvoiceId;
    }

    public void setCustomerInvoiceId(String customerInvoiceId) {
        this.customerInvoiceId = customerInvoiceId;
    }

    public String getCustomerId() {
        return customerId;
    }

    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    public String getInvoiceType() {
        return invoiceType;
    }

    public void setInvoiceType(String invoiceType) {
        this.invoiceType = invoiceType;
    }

    public String getInvoiceTitle() {
        return invoiceTitle;
    }

    public void setInvoiceTitle(String invoiceTitle) {
        this.invoiceTitle = invoiceTitle;
    }

    public String getTinNumber() {
        return tinNumber;
    }

    public void setTinNumber(String tinNumber) {
        this.tinNumber = tinNumber;
    }

    public String getCompanyAddress() {
        return companyAddress;
    }

    public void setCompanyAddress(String companyAddress) {
        this.companyAddress = companyAddress;
    }

    public String getCompanyTel() {
        return companyTel;
    }

    public void setCompanyTel(String companyTel) {
        this.companyTel = companyTel;
    }

    public String getCompanyBankName() {
        return companyBankName;
    }

    public void setCompanyBankName(String companyBankName) {
        this.companyBankName = companyBankName;
    }

    public String getCompanyBankNumber() {
        return companyBankNumber;
    }

    public void setCompanyBankNumber(String companyBankNumber) {
        this.companyBankNumber = companyBankNumber;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", customerInvoiceId=").append(customerInvoiceId);
        sb.append(", customerId=").append(customerId);
        sb.append(", invoiceType=").append(invoiceType);
        sb.append(", invoiceTitle=").append(invoiceTitle);
        sb.append(", tinNumber=").append(tinNumber);
        sb.append(", companyAddress=").append(companyAddress);
        sb.append(", companyTel=").append(companyTel);
        sb.append(", companyBankName=").append(companyBankName);
        sb.append(", companyBankNumber=").append(companyBankNumber);
        sb.append("]");
        return sb.toString();
    }
}